/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 品牌邀请、转发、核销配置表
 *
 * @author proj code generator
 * @date 2021-02-01 19:00:18
 */
@Data
@TableName("fx_conf_reward")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "品牌邀请、转发、核销配置表")
public class FxConfReward extends Model<FxConfReward>{
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    @ApiModelProperty(value="品牌id")
    private Long brandId;
    @ApiModelProperty(value="0上架1下架")
    private Long status;
    /**
     * 分销类型 0 注册   1 转发  2 核销 3关注 4收藏
     */
    @ApiModelProperty(value="分销类型 0 注册   1 转发  2 核销 3关注 4收藏")
    private Integer ruleType;
    /**
     * 佣金类型:0固定金额1百分比
     */
    @ApiModelProperty(value="佣金类型:0固定金额1百分比")
    private Integer rewardType;
    /**
     * 百分比
     */
    @ApiModelProperty(value="百分比")
    private BigDecimal percent;
    /**
     * 金额
     */
    @ApiModelProperty(value="金额")
    private BigDecimal baseMoney;
//    /**
//     * 关联门店id数组
//     */
//    @ApiModelProperty(value="关联门店id数组")
//    private List<Long> shopIds;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
/*	*//**
	 * 配置id
	 *//*
	@ApiModelProperty(value="配置id")
	private Long confRewardId;*/
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
	@TableLogic
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;
	/**
	 * 任务分类
	 */
	@ApiModelProperty(value="任务分类")
	private Integer task;
	/**
	 * 备注
	 */
	@ApiModelProperty(value="备注")
	private String remark;

	/**
	 *  优惠券类型0无门槛1满减
	 */
	@ApiModelProperty(value="优惠券类型0无门槛1满减")
	private Integer couponType;
    }
